package main.social.service.impl;

import main.social.dao.UserDao;
import main.social.entities.Users;
import main.social.service.UserService;

public class UserServiceImpl implements UserService{

	private UserDao userDao;
	
	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}
	
	@Override
	public Users getByUsername(String username) {
		return this.userDao.getByUsername(username);
	}

}
